package cn.jiedh.app.meiweidk.mine;

import com.google.gson.annotations.SerializedName;

/**
 * @name：
 * @author： liuyun
 * @phone： 15723310658
 * @createTime： 2017/12/14
 * @modifyTime： 2017/12/14
 * @explain：说明
 */


public class PersonInfo {
    private String monthlyIncomeMax;
    private String monthlyIncomeMin;
    private int education;
    private int zhimaScore;
    private String idCard;
    private String nickname;


    private String monthlyIncome;

    //2.0参数
    /**
     * amount : 13000
     * social : 有
     * weilidai : 无微粒贷
     * guarantee : 无
     * payoff : 打卡
     * house : 有房(不确定房产类型)
     * car : 无车
     * cityLive : 内蒙古 呼和浩特 新城区
     * fund : 有
     * socialCase :  未满3个月
     * credit : 信用良好
     * creditCase : 有
     * jobType : 无固定职位
     * maritalStatus : 未婚
     */
    private String phone;
    private String userImgUrl;
    private String username;
    private int amount;
    private String social;
    private String weilidai;
    private String guarantee;
    private String payoff;
    private String house;
    private String car;
    private String cityLive;
    private String fund;
    private String socialCase;
    private String jobType;
    private String credit;
    private String creditCase;
    private String maritalStatus;


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMonthlyIncomeMax() {
        return monthlyIncomeMax;
    }

    public void setMonthlyIncomeMax(String monthlyIncomeMax) {
        this.monthlyIncomeMax = monthlyIncomeMax;
    }

    public String getMonthlyIncomeMin() {
        return monthlyIncomeMin;
    }

    public void setMonthlyIncomeMin(String monthlyIncomeMin) {
        this.monthlyIncomeMin = monthlyIncomeMin;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUserImgUrl() {
        return userImgUrl;
    }

    public void setUserImgUrl(String userImgUrl) {
        this.userImgUrl = userImgUrl;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public int getEducation() {
        return education;
    }

    public void setEducation(int education) {
        this.education = education;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public int getZhimaScore() {
        return zhimaScore;
    }

    public void setZhimaScore(int zhimaScore) {
        this.zhimaScore = zhimaScore;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public String getMonthlyIncome() {
        return monthlyIncome;
    }

    public void setMonthlyIncome(String monthlyIncome) {
        this.monthlyIncome = monthlyIncome;
    }

    public static String[] getEducations() {
        return new String[]{
                "初中以下",
                "初中",
                "高中/中专/技校",
                "大学专科",
                "大学本科",
                "硕士",
                "博士及以上"
        };
    }

    public static String getEducationByCode(int code) {
        switch (code) {
            case 0:
                return "初中以下";
            case 1:
                return "初中";
            case 2:
                return "高中/中专/技校";
            case 3:
                return "大学专科";
            case 4:
                return "大学本科";
            case 5:
                return "硕士";
            case 6:
                return "博士及以上";
            default:
                return "";

        }
    }

    public static int getEducationCodeByStr(String edcation) {
        switch (edcation) {
            case "初中以下":
                return 0;
            case "初中":
                return 1;
            case "高中/中专/技校":
                return 2;
            case "大学专科":
                return 3;
            case "大学本科":
                return 4;
            case "硕士":
                return 5;
            case "博士及以上":
                return 6;
            default:
                return -1;
        }
    }

    public static String[] getJobTypes() {
        return new String[]{
                "自由职业",
                "在校大学生",
                "私营企业主",
                "授薪人士"
        };
    }

    public static String getJobTypesByCode(int code) {
        switch (code) {
            case 0:
                return "自由职业";
            case 1:
                return "在校大学生";
            case 2:
                return "私营企业主";
            case 3:
                return "授薪人士";
            default:
                return "";

        }
    }

    public static int getJobTypesCodeByStr(String jobStr) {
        switch (jobStr) {
            case "自由职业":
                return 0;
            case "在校大学生":
                return 1;
            case "私营企业主":
                return 2;
            case "授薪人士":
                return 3;
            default:
                return -1;
        }
    }

    public static String[] getbooleanTypes() {
        return new String[]{
                "无",
                "有",
        };
    }

    public static String getBooleanTypeByCode(int code) {
        switch (code) {
            case 0:
                return "无";
            case 1:
                return "有";
            default:
                return "";

        }
    }

    public static int getBooleanTypeCodeByStr(String booleanStr) {
        switch (booleanStr) {
            case "无":
                return 0;
            case "有":
                return 1;
            default:
                return -1;
        }
    }
//    public static String getbooleanStr(boolean isTure){
//        return isTure?"有":"无";
//    }
//    public static boolean getboolean(String booleanStr){
//        return "有".equals(booleanStr)?true:false;
//    }

    public static String[] getIncomeTypes() {
        return new String[]{
                "2000以下",
                "2000-3000",
                "3000-4000",
                "4000-5000",
                "5000-6000",
                "6000-8000",
                "8000-1000",
                "10000以上"
        };
    }

    public static String[] getMarryTypes() {
        return new String[]{
                "未婚",
                "已婚",
                "丧偶",
                "离异"
        };
    }

    public static String[] get2IncomeTypes() {
        return new String[]{
                "2000以下",
                "2000-4000",
                "4000-8000",
                "8000-15000",
                "15000以上"
        };
    }

    public static String[] get2JobTypes() {
        return new String[]{
                "无固定职业",
                "企业主",
                "个体户",
                "上班族"
        };
    }

    public static String[] getPriceTypes() {
        return new String[]{
                "打卡",
                "现金",
                "打卡+现金"
        };
    }

//    public static String[] getcreditTypes() {
//        return new String[]{
//                "信用良好",
//                "无信用卡",
//                "贷款",
//                "2年内超过3次逾期",
//                "2年内少于3次逾期"
//        };
//    }

    public static String[] getcreditTypes() {
        return new String[]{
                "信用良好",
                "无信用卡",
                "贷款4-2年内超过3次逾期",
                "贷款5-2年内少于3次逾期"
        };
    }


    public static String[] getCarTypes() {
        return new String[]{
                "无车",
                "贷款车",
                "全款车"
        };
    }

    public static String[] getHouseTypes() {
        return new String[]{
                "有房,但不确认房产类型",
                "无房产",
                "商品房(有贷款)",
                "商品房(无贷款)"
        };
    }

    public static String[] getPublicPriceTypes() {
        return new String[]{
                "有",
                "无"
        };
    }

    public static String[] getSocialTypes() {
        return new String[]{
                "有",
                "无"
        };
    }

    public static String[] getPolicyTypes() {
        return new String[]{
                "无",
                "寿险",
                "财险"
        };
    }

    public static String[] getCardTypes() {
        return new String[]{
                "有",
                "无"
        };
    }

    public static String[] getWcQuotaTypes() {
        return new String[]{
                "无微粒贷",
                "5千以内",
                "1万以内",
                "1-3万",
                "3-5万",
                "5-10万",
                "10万以上"

        };
    }

    public static String[] getSocialCaseTypes() {
        return new String[]{
                "未满3个月",
                "连续缴纳3个月以上"

        };
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getSocial() {
        return social;
    }

    public void setSocial(String social) {
        this.social = social;
    }

    public String getWeilidai() {
        return weilidai;
    }

    public void setWeilidai(String weilidai) {
        this.weilidai = weilidai;
    }

    public String getGuarantee() {
        return guarantee;
    }

    public void setGuarantee(String guarantee) {
        this.guarantee = guarantee;
    }

    public String getPayoff() {
        return payoff;
    }

    public void setPayoff(String payoff) {
        this.payoff = payoff;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    public String getCar() {
        return car;
    }

    public void setCar(String car) {
        this.car = car;
    }

    public String getCityLive() {
        return cityLive;
    }

    public void setCityLive(String cityLive) {
        this.cityLive = cityLive;
    }

    public String getFund() {
        return fund;
    }

    public void setFund(String fund) {
        this.fund = fund;
    }

    public String getSocialCase() {
        return socialCase;
    }

    public void setSocialCase(String socialCase) {
        this.socialCase = socialCase;
    }


    public String getCreditCase() {
        return creditCase;
    }

    public void setCreditCase(String creditCase) {
        this.creditCase = creditCase;
    }


    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }
}
